#ifndef CYLINDER_H
#define CYLINDER_H

#include "Object3D.h"

class Cylinder : public Object3D
{
    Q_OBJECT

    float height;
    float radius;
public:
    explicit Cylinder(const QVector3D& center = QVector3D(), QObject *parent = 0);
    virtual float intersectionWithLine(QVector3D direction, QVector3D eye);

private:
    virtual void drawGeometry(void);
};

#endif // CYLINDER_H
